<?php defined ( 'BASEPATH' ) or exit ( 'No direct script access allowed' );
/**
 * @author chaituan@126.com
 */
class Hh extends CI_Controller {
	
	function index(){
		$this->load->view('mobile/hh/index');
	}
	
	function sub(){
		if(is_ajax_request()){
			sleep(1);
			$data = Posts('data');
			$this->load->model(array('admin/Hehuoren_model'=>'do'));
			$result = $this->do->add($data);
			is_AjaxResult($result,'成功，稍后会有客服和您联系','提交失败重新提交');
		}
	}
	

}
